<?xml version='1.0' ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" 
xmlns:a="urn:oasis:names:tc:xliff:document:1.2" 
xmlns:xliff="http://docs.oasis-open.org/xliff/xliff-core/xliff-core.html#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<xsl:template match="/">
     	<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
						<xliff:file>
				<xsl:attribute name="datatype">
					<xsl:value-of select="a:xliff/a:file/@datatype"/>
				</xsl:attribute>
				<xsl:attribute name="target-language">
					<xsl:value-of select="a:xliff/a:file/@target-language"/>
				</xsl:attribute>
				<xsl:attribute name="source-language">
					<xsl:value-of select="a:xliff/a:file/@source-language"/>
				</xsl:attribute>
				<xsl:attribute name="rdf:about">
					<xsl:value-of select="a:xliff/a:file/@original"/>
				</xsl:attribute>
				<xliff:header>
			      <xliff:phase-group>
					<xsl:attribute name="phase-name">
						<xsl:value-of select="a:xliff/a:file/a:header/a:phase-group/a:phase/@phase-name"/>
									</xsl:attribute>
					<xsl:attribute name="process-name">
						<xsl:value-of select="a:xliff/a:file/a:header/a:phase-group/a:phase/@process-name"/>
								</xsl:attribute>
					<xsl:attribute name="contact-name">
						<xsl:value-of select="a:xliff/a:file/a:header/a:phase-group/a:phase/@contact-name"/>
									</xsl:attribute>
					<xsl:attribute name="contact-email">
						<xsl:value-of select="a:xliff/a:file/a:header/a:phase-group/a:phase/@contact-email"/>
					</xsl:attribute>
				</xliff:phase-group>
				<xliff:glossary>
					<xliff:external-file>
					<xsl:attribute name="href">
						<xsl:value-of select="a:xliff/a:file/a:header/a:glossary/a:external-file/@href"/>
					</xsl:attribute>
					</xliff:external-file>
				</xliff:glossary>
			<xliff:note>
             </xliff:note>
			</xliff:header>
				<xliff:body>
					<xsl:for-each select="a:xliff/a:file/a:body/a:trans-unit">
						<xliff:trans-unit>
							<xsl:attribute name="id">
								<xsl:value-of select="@id"/>
							</xsl:attribute>
						<xliff:source>
							    <xsl:value-of select="a:source"/>
						</xliff:source>
						<xliff:target>
							<xsl:value-of select="a:target"/>
						</xliff:target>
					<xliff:alt-trans>
							<xsl:value-of select="a:alt-trans"/>
						</xliff:alt-trans>
						
					<xsl:for-each select="a:xliff/a:file/a:body/a:trans-unit/a:alt-trans">
						<xliff:alt-trans>
							<xliff:source>
								<xsl:value-of select="a:alt-trans/a:source"/>
							</xliff:source>
							<xliff:target>
										<xsl:value-of select="a:target"/>
										</xliff:target>
								</xliff:alt-trans>
							</xsl:for-each>		
					</xliff:trans-unit>
					</xsl:for-each>
				</xliff:body>
			</xliff:file>
		</rdf:RDF>
	</xsl:template>
</xsl:stylesheet>
